<!DOCTYPE html>
<html style="background-color: #F2F2F2;">
<head>
	
	<title><?php echo _MANAGER_TITLE_; ?></title>

	<?php $this->setFlag('edit,upload'); ?>
	<?php $this->import('meta'); ?>

	<link rel="stylesheet" type="text/css" href="html/console/electronic/css/add.css?v=11" />

    <script type="text/javascript" src="html/console/electronic/js/add.js?v=16"></script>

</head>
<body>

	<div style="display: none;"></div>
	<div id="loadSpin" class="bg"></div>

	<div id="mainBg" class="bg" style="display: none;">

		<input type="text" id="menuid" class="display-none" />

		<?php $this->import('upload'); ?>

		<div class="info-bar">
			<div class="info-head">
                <div class="info-head-title">基础信息</div>
            </div>
			<div class="info-tr">
				<div class="info-tr-field">标题</div>
				<input type="text" id="title" class="info-tr-input" placeholder="请输入标题" autocomplete="off" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
			<div class="info-tr">
				<div class="info-tr-field">商家地址</div>
				<input type="text" id="address" class="info-tr-input" placeholder="（选填）" autocomplete="off" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
			<div class="info-tr">
				<div class="info-tr-field">联系人</div>
				<input type="text" id="person" class="info-tr-input" placeholder="请输入联系人" autocomplete="off" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
			<div class="info-tr">
				<div class="info-tr-field">联系电话</div>
				<input type="text" id="phone" class="info-tr-input" placeholder="请输入联系电话" autocomplete="off" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
			<div class="info-tr2">
				<div class="info-tr-field">备注</div>
				<input type="text" id="remark" class="info-tr-input" placeholder="（选填）" autocomplete="off" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
		</div>

		<div class="info-bar">
			<div class="info-head">
                <div class="info-head-title">服务内容</div>
            </div>
			<div class="info-tr">
				<div class="info-tr-field">服务项目</div>
				<input type="text" id="category" class="info-tr-input" readonly="readonly" placeholder="请选择服务项目" autocomplete="off" onclick="checkCategory()" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
			<div class="info-tr">
				<div class="info-tr-field">服务特征</div>
				<input type="text" id="feature" class="info-tr-input" readonly="readonly" placeholder="请选择服务特征" autocomplete="off" onclick="checkFeature()" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
			<div class="info-tr2">
				<div class="info-tr-field">服务范围</div>
				<input type="text" id="area" class="info-tr-input" readonly="readonly" placeholder="请选择服务范围" autocomplete="off" onclick="checkArea()" />
				<img class="info-tr-img" src="static/pic/app/right.png" />
			</div>
		</div>

		<div class="info-bar">
            <div class="info-head">
                <div class="info-head-title">服务详情</div>
            </div>
            <div class="info-tr3">
                <textarea id="introduce" class="info-tr-textarea" placeholder="请详细描述您的服务内容"></textarea>
            </div>
        </div>

        <div class="info-bar">
        	<div class="info-head">
                <div class="info-head-title">资费套餐</div>
            </div>
        	<div class="info-tr">
        		<div class="info-tr-field">展示时长</div>
        		<input type="text" id="showtime" class="info-tr-input" readonly="readonly" placeholder="请选择展示时长" autocomplete="off" onclick="selectTime()" onchange="getExpiretime()" />
        		<input type="text" id="expiretime" class="display-none" />
        		<img class="info-tr-img" src="static/pic/app/right.png" />
        	</div>
        	<div class="info-tr2">
        		<div class="info-tr-field">初始状态</div>
        		<input type="text" id="statusText" class="info-tr-input" readonly="readonly" value="展示中" placeholder="请选择初始状态" autocomplete="off" onclick="selectStatus()" />
        		<input type="text" id="statusValue" class="display-none" value="1" />
        		<img class="info-tr-img" src="static/pic/app/right.png" />
        	</div>
        </div>

		<div class="btn-empty"></div>
        <div id="btnBottom" class="btn-bar">
            <div class="btn-back" onclick="back()">返回</div>
            <div class="btn-ok" onclick="saveElectronic()">保存</div>
        </div>

        <?php $this->import('slipselect'); ?>
        <?php $this->import('slipcheck'); ?>

	</div>

</body>
</html>